.class public Lcom/instagram/android/a/aa;
.super Lcom/instagram/ui/c/b;
.source "UserListAdapter.java"

# interfaces
.implements Landroid/widget/Filterable;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/ui/c/b",
        "<",
        "Lcom/instagram/android/model/b/e;",
        ">;",
        "Landroid/widget/Filterable;"
    }
.end annotation


# instance fields
.field private a:Lcom/instagram/android/a/ad;

.field protected b:Z

.field protected c:Z

.field protected d:Landroid/support/v4/app/aj;

.field protected e:Landroid/widget/Filter;

.field protected f:Lcom/instagram/android/a/b/aj;

.field private j:Landroid/content/BroadcastReceiver;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/support/v4/app/aj;ZZ)V
    .locals 2
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 78
    invoke-direct {p0, p1}, Lcom/instagram/ui/c/b;-><init>(Landroid/content/Context;)V

    .line 160
    new-instance v0, Lcom/instagram/android/a/ad;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/instagram/android/a/ad;-><init>(Lcom/instagram/android/a/aa;Lcom/instagram/android/a/ab;)V

    iput-object v0, p0, Lcom/instagram/android/a/aa;->a:Lcom/instagram/android/a/ad;

    .line 162
    new-instance v0, Lcom/instagram/android/a/ac;

    invoke-direct {v0, p0}, Lcom/instagram/android/a/ac;-><init>(Lcom/instagram/android/a/aa;)V

    iput-object v0, p0, Lcom/instagram/android/a/aa;->j:Landroid/content/BroadcastReceiver;

    .line 79
    iput-object p2, p0, Lcom/instagram/android/a/aa;->d:Landroid/support/v4/app/aj;

    .line 80
    iput-boolean p3, p0, Lcom/instagram/android/a/aa;->b:Z

    .line 81
    iput-boolean p4, p0, Lcom/instagram/android/a/aa;->c:Z

    .line 84
    iget-boolean v0, p0, Lcom/instagram/android/a/aa;->b:Z

    if-eqz v0, :cond_0

    .line 85
    new-instance v0, Lcom/instagram/android/a/ab;

    invoke-direct {v0, p0}, Lcom/instagram/android/a/ab;-><init>(Lcom/instagram/android/a/aa;)V

    invoke-virtual {p0, v0}, Lcom/instagram/android/a/aa;->registerDataSetObserver(Landroid/database/DataSetObserver;)V

    .line 105
    :cond_0
    return-void
.end method

.method static synthetic a(Lcom/instagram/android/a/aa;)Landroid/content/BroadcastReceiver;
    .locals 1
    .parameter

    .prologue
    .line 30
    iget-object v0, p0, Lcom/instagram/android/a/aa;->j:Landroid/content/BroadcastReceiver;

    return-object v0
.end method

.method static synthetic b(Lcom/instagram/android/a/aa;)Landroid/content/Context;
    .locals 1
    .parameter

    .prologue
    .line 30
    iget-object v0, p0, Lcom/instagram/android/a/aa;->h:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic c(Lcom/instagram/android/a/aa;)Landroid/content/Context;
    .locals 1
    .parameter

    .prologue
    .line 30
    iget-object v0, p0, Lcom/instagram/android/a/aa;->h:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic d(Lcom/instagram/android/a/aa;)Lcom/instagram/android/a/ad;
    .locals 1
    .parameter

    .prologue
    .line 30
    iget-object v0, p0, Lcom/instagram/android/a/aa;->a:Lcom/instagram/android/a/ad;

    return-object v0
.end method


# virtual methods
.method protected a()Landroid/view/View;
    .locals 3

    .prologue
    .line 109
    invoke-virtual {p0}, Lcom/instagram/android/a/aa;->f()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    sget v1, Lcom/facebook/ax;->row_no_results:I

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    .line 110
    sget v0, Lcom/facebook/aw;->row_no_results_textview:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    sget v2, Lcom/facebook/ba;->no_users_found:I

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(I)V

    .line 111
    return-object v1
.end method

.method protected a(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
    .locals 1
    .parameter
    .parameter
    .parameter

    .prologue
    .line 120
    invoke-virtual {p0}, Lcom/instagram/android/a/aa;->e()Lcom/instagram/android/a/b/aj;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/instagram/android/a/b/aj;->b(Landroid/content/Context;)Landroid/view/View;

    move-result-object v0

    return-object v0
.end method

.method protected a(Landroid/view/View;Landroid/content/Context;I)V
    .locals 1
    .parameter
    .parameter
    .parameter

    .prologue
    .line 125
    invoke-virtual {p0, p3}, Lcom/instagram/android/a/aa;->getItem(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/model/b/e;

    invoke-virtual {p0, p1, p2, v0}, Lcom/instagram/android/a/aa;->a(Landroid/view/View;Landroid/content/Context;Lcom/instagram/android/model/b/e;)V

    .line 126
    return-void
.end method

.method protected a(Landroid/view/View;Landroid/content/Context;Lcom/instagram/android/model/b/e;)V
    .locals 6
    .parameter
    .parameter
    .parameter

    .prologue
    .line 129
    invoke-virtual {p0}, Lcom/instagram/android/a/aa;->e()Lcom/instagram/android/a/b/aj;

    move-result-object v0

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/instagram/android/a/b/ak;

    iget-boolean v3, p0, Lcom/instagram/android/a/aa;->b:Z

    iget-boolean v4, p0, Lcom/instagram/android/a/aa;->c:Z

    iget-object v5, p0, Lcom/instagram/android/a/aa;->d:Landroid/support/v4/app/aj;

    move-object v2, p3

    invoke-virtual/range {v0 .. v5}, Lcom/instagram/android/a/b/aj;->a(Lcom/instagram/android/a/b/ak;Lcom/instagram/android/model/b/e;ZZLandroid/support/v4/app/aj;)V

    .line 131
    return-void
.end method

.method public c()V
    .locals 2

    .prologue
    .line 115
    iget-object v0, p0, Lcom/instagram/android/a/aa;->h:Landroid/content/Context;

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/a/aa;->j:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;)V

    .line 116
    return-void
.end method

.method public d()Ljava/util/List;
    .locals 1

    .prologue
    .line 134
    iget-object v0, p0, Lcom/instagram/android/a/aa;->g:Ljava/util/List;

    return-object v0
.end method

.method public e()Lcom/instagram/android/a/b/aj;
    .locals 1

    .prologue
    .line 138
    iget-object v0, p0, Lcom/instagram/android/a/aa;->f:Lcom/instagram/android/a/b/aj;

    if-nez v0, :cond_0

    .line 139
    new-instance v0, Lcom/instagram/android/a/b/aj;

    invoke-direct {v0}, Lcom/instagram/android/a/b/aj;-><init>()V

    iput-object v0, p0, Lcom/instagram/android/a/aa;->f:Lcom/instagram/android/a/b/aj;

    .line 141
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/a/aa;->f:Lcom/instagram/android/a/b/aj;

    return-object v0
.end method

.method public getFilter()Landroid/widget/Filter;
    .locals 1

    .prologue
    .line 146
    iget-object v0, p0, Lcom/instagram/android/a/aa;->e:Landroid/widget/Filter;

    if-nez v0, :cond_0

    .line 147
    new-instance v0, Lcom/instagram/android/a/a/e;

    invoke-direct {v0, p0}, Lcom/instagram/android/a/a/e;-><init>(Lcom/instagram/android/a/aa;)V

    iput-object v0, p0, Lcom/instagram/android/a/aa;->e:Landroid/widget/Filter;

    .line 149
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/a/aa;->e:Landroid/widget/Filter;

    return-object v0
.end method
